﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Popup.Master" CodeBehind="OutletMasterPopup.aspx.cs"
    Inherits="VSM.OutletMasterPopup" EnableEventValidation="false" Title="Customers"%>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script type="text/javascript">
        function isNumberKey(sender, evt) {
            var txt = sender.value;
            var dotcontainer = txt.split('.');
            var charCode = (evt.which) ? evt.which : event.keyCode;
            if (!(dotcontainer.length == 1 && charCode == 46) && charCode > 31 && (charCode < 48 || charCode > 57))
                return false;
            return true;
        }
    </script>
    <div>
        <asp:UpdatePanel ID="updatePanel" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <asp:HiddenField ID="hdnDocEntry" runat="server" />
                <div style="height: 480px; overflow: scroll">
                <h2>&nbsp;Outlet Master
                </h2>
                <div style="margin-left: 5px; width: 99%;">
                    <hr />
                    <table border="0" width="100%" style="background-color: #D1D4D8;">
                        <tr>
                            <td class="FormLineItemAlt" style="width: 15%">Code:</td>
                            <td class="FormLineItemAlt" valign="middle" style="width: 35%">
                                <asp:TextBox ID="txtDealerCode" runat="server" style="width: 50%"></asp:TextBox>
                            </td>
                            <td class="FormLineItemAlt" style="width: 15%" valign="top">Name:</td>
                            <td class="FormLineItemAlt" valign="middle" style="width: 98%">
                                <asp:TextBox ID="TextBox1" runat="server" style="width: 98%" ></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="FormLineItem" style="width: 15%" valign="top">Location:</td>
                            <td class="FormLineItem" style="width: 35%" valign="top">
                                <asp:TextBox ID="txtDealerName" runat="server" TextMode="MultiLine" 
                                    Height="45px" style="width: 98%" ></asp:TextBox>
                            </td>
                            <td class="FormLineItem" style="width: 15%" valign="top">Area:</td>
                            <td class="FormLineItem" style="width: 35%">
                                <asp:TextBox ID="txtAddress" runat="server" TextMode="MultiLine" Height="45px" style="width: 98%" ></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="FormLineItemAlt" style="width: 15%">Revenue:</td>
                            <td class="FormLineItemAlt" style="width: 35%">
                                <asp:TextBox ID="txtTaxCode" runat="server" Text="" style="width: 98%"></asp:TextBox>
                            </td>
                            <td class="FormLineItemAlt" style="width: 15%">Display Type:</td>
                            <td class="FormLineItemAlt" style="width: 35%">
                                <asp:TextBox ID="txtTel2" runat="server" style="width: 98%"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="FormLineItem" style="width: 15%">Chanel:</td>
                            <td class="FormLineItem" style="width: 35%">
                                <asp:TextBox ID="txtTel1" runat="server" style="width: 98%"></asp:TextBox>
                            </td>
                            <td class="FormLineItem"></td>
                            <td class="FormLineItem"></td>
                        </tr>

                    </table>
                    <hr />
                    <asp:Button ID="btnAccept" runat="server" Text="Save" OnClick="btnAccept_Click" Style="background-image: url('/Images/bgButton.png');
                        background-repeat: no-repeat;" Width="80px" />
                    <asp:Button ID="Button1" runat="server" Text="Cancel" OnClick="btnAccept_Click" Style="background-image: url('/Images/bgButton.png');
                        background-repeat: no-repeat;" Width="80px" />
                </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
